package com.keep.result;


import java.util.ArrayList;
import java.util.List;

public class PageBean<T> {
	private List<T> list = new ArrayList<>();
	private Integer pageNum;
	private Integer pageSize;
	private Long total;
	private Integer pages;

	public PageBean(List<T> list, Integer pageNum, Integer pageSize, Long total, Integer pages) {
		this.list = list;
		this.pageNum = pageNum;
		this.pageSize = pageSize;
		this.total = total;
		this.pages = pages;
	}

	public Integer getPages() {
		return pages;
	}

	public void setPages(Integer pages) {
		this.pages = pages;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}
}
